package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 就医记录
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2023-03-08 09:41:43
 */
@TableName("jiuyijilu")
public class JiuyijiluEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public JiuyijiluEntity() {
		
	}
	
	public JiuyijiluEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 用户名
	 */
					
	private String yonghuming;
	/**
	 * 姓名
	 */

	private String xingming;
	
	/**
	 * 疾病名称
	 */
					
	private String jibingmingcheng;
	
	/**
	 * 疾病类型
	 */
					
	private String jibingleixing;
	
	/**
	 * 就诊医院
	 */
					
	private String jiuzhenyiyuan;
	
	/**
	 * 就诊科室
	 */
					
	private String jiuzhenkeshi;
	
	/**
	 * 发病部位
	 */
					
	private String fabingbuwei;
	
	/**
	 * 疾病详情
	 */
					
	private String jibingxiangqing;
	
	/**
	 * 治疗方法
	 */
					
	private String zhiliaofangfa;
	
	/**
	 * 医生医嘱
	 */
					
	private String yishengyizhu;
	
	/**
	 * 药方
	 */
					
	private String yaofang;

	private String pingjia;

	public String getPingjia() {
		return pingjia;
	}

	public void setPingjia(String pingjia) {
		this.pingjia = pingjia;
	}

	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：用户名
	 */
	public void setYonghuming(String yonghuming) {
		this.yonghuming = yonghuming;
	}
	/**
	 * 获取：用户名
	 */
	public String getYonghuming() {
		return yonghuming;
	}
	/**
	 * 设置：疾病名称
	 */
	public void setJibingmingcheng(String jibingmingcheng) {
		this.jibingmingcheng = jibingmingcheng;
	}
	/**
	 * 获取：疾病名称
	 */
	public String getJibingmingcheng() {
		return jibingmingcheng;
	}
	/**
	 * 设置：疾病类型
	 */
	public void setJibingleixing(String jibingleixing) {
		this.jibingleixing = jibingleixing;
	}
	/**
	 * 获取：疾病类型
	 */
	public String getJibingleixing() {
		return jibingleixing;
	}
	/**
	 * 设置：就诊医院
	 */
	public void setJiuzhenyiyuan(String jiuzhenyiyuan) {
		this.jiuzhenyiyuan = jiuzhenyiyuan;
	}
	/**
	 * 获取：就诊医院
	 */
	public String getJiuzhenyiyuan() {
		return jiuzhenyiyuan;
	}
	/**
	 * 设置：就诊科室
	 */
	public void setJiuzhenkeshi(String jiuzhenkeshi) {
		this.jiuzhenkeshi = jiuzhenkeshi;
	}
	/**
	 * 获取：就诊科室
	 */
	public String getJiuzhenkeshi() {
		return jiuzhenkeshi;
	}
	/**
	 * 设置：发病部位
	 */
	public void setFabingbuwei(String fabingbuwei) {
		this.fabingbuwei = fabingbuwei;
	}
	/**
	 * 获取：发病部位
	 */
	public String getFabingbuwei() {
		return fabingbuwei;
	}
	/**
	 * 设置：疾病详情
	 */
	public void setJibingxiangqing(String jibingxiangqing) {
		this.jibingxiangqing = jibingxiangqing;
	}
	/**
	 * 获取：疾病详情
	 */
	public String getJibingxiangqing() {
		return jibingxiangqing;
	}
	/**
	 * 设置：治疗方法
	 */
	public void setZhiliaofangfa(String zhiliaofangfa) {
		this.zhiliaofangfa = zhiliaofangfa;
	}
	/**
	 * 获取：治疗方法
	 */
	public String getZhiliaofangfa() {
		return zhiliaofangfa;
	}
	/**
	 * 设置：医生医嘱
	 */
	public void setYishengyizhu(String yishengyizhu) {
		this.yishengyizhu = yishengyizhu;
	}
	/**
	 * 获取：医生医嘱
	 */
	public String getYishengyizhu() {
		return yishengyizhu;
	}
	/**
	 * 设置：药方
	 */
	public void setYaofang(String yaofang) {
		this.yaofang = yaofang;
	}
	/**
	 * 获取：药方
	 */
	public String getYaofang() {
		return yaofang;
	}

	public String getXingming() {
		return xingming;
	}

	public void setXingming(String xingming) {
		this.xingming = xingming;
	}
}
